home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
C64
/
A-Monthly Disks
/
(c)aai.d64
/
see jj hires
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2007-02-04
|
2KB
|
87 lines
100 REM
110 REM "CSLIDE" SLIDESHOW PROGRAM
120 REM MARC MOORCROFT
130 REM 73 ST. GEORGE ST. #380
140 REM TORONTO, ONTARIO M5S 2E5
150 REM
160 REM BASED ON "COMPRESSOR" BY CHRIS
170 REM ZAMARA IN THE TRANSACTOR
180 REM VOLUME 6 ISSUE 4.
190 REM
200 POKE55,0:POKE56,88:POKE51,0:POKE52,88
210 FORT=22528TO22607:READA:POKET,A:NEXT
220 DIM F$(144)
230 PRINT"[147] CSLIDESHOW[146] BY MARC MOORCROFT"
240 PRINT"INSERT PICTURES DISK AND HIT RETURN"
250 GETA$:IFA$<>CHR$(13)THEN250
260 PRINT"READING DIRECTORY"
270 OPEN1,8,0,"$0:JJ*"
280 GET#1,A$,A$,A$,A$,A$,A$:NF=0
290 GET#1,A$:IFA$<>""THEN290
300 GET#1,A$,A$,A$,A$
310 GET#1,A$:IFA$=" "ORA$=""THEN310
320 IFA$<>CHR$(34)THENCLOSE1:GOTO390
330 B$=""
340 GET#1,A$:IFA$=CHR$(34)THEN360
350 B$=B$+A$:GOTO340
360 B$=MID$(B$,3):F$(NF)=B$:PRINTB$:NF=NF+1
370 GET#1,A$:IFA$<>""THEN370
380 GOTO300
390 NF=NF-1:IFNF<0THENRUN
400 PRINT"[147]MOVE UP AND DOWN THE LIST WITH THE"
410 PRINT"CRSR[146] KEYS. HIT RETURN[146] TO SEE A"
420 PRINT"PICTURE. HIT Q[146] TO QUIT, AND"
430 PRINT"D[146] FOR ANOTHER DISK"
440 PRINT"WHILE VIEWING A PICTURE, PRESS S[146] TO"
450 PRINT"SAVE AN UNCOMPRESSED DOODLE, ANY OTHER"
460 PRINT"KEY TO RETURN TO PICTURE MENU."
470 PRINT"PRESS RETURN[146] TO START"
480 FORT=1TO10:GETA$:NEXT:LV=-1
490 GETA$:IFA$<>CHR$(13)THEN490
500 PRINT"[147]";:DP=0:SP=0:FORT=0TO20:PRINTF$(T):NEXT
510 PRINT"";
520 PRINTTAB(14)"<--":PRINT"[145]";:GOTO530
530 GETA$:IFA$=""THEN530
540 IFA$=""THENGOSUB600:GOTO520
550 IFA$="[145]"THENGOSUB670:GOTO520
560 IFA$="D"THENCLR:GOTO220
570 IFA$=CHR$(13)THEN730
580 IFA$="Q"THENPRINT"[147]":END
590 GOTO530
600 PRINTTAB(14)" ":PRINT"[145]";
610 IFDP=NFTHENRETURN
620 DP=DP+1
630 IFSP<20THENPRINT"";:SP=SP+1:RETURN
640 PRINT"[145][145][145]"F$(DP)
650 PRINT" "
660 PRINT"";:RETURN
670 PRINTTAB(14)" ":PRINT"[145]";
680 IFDP=0THENRETURN
690 DP=DP-1
700 IFSP>0THENPRINT"[145]";:SP=SP-1:RETURN
710 PRINT"[157][148]":POKE218,132:PRINT" "
720 PRINT""F$(DP):PRINT"";:RETURN
730 IFLV=DPTHENPOKE56576,2:POKE53272,120:POKE53265,59:GOTO770
740 LV=DP:OPEN8,8,0,"JJ"+F$(DP)
750 POKE56576,2:POKE53272,120:POKE53265,59
760 SYS22528
770 GETA$:IFA$=""THEN770
780 POKE53272,20:POKE53265,27:POKE56576,3
790 IFA$<>"S"THEN530
800 PRINT"[147]SAVE NORMAL DOODLE FILE (Y/N)?"
810 GETA$:IFA$="N"THEN500
820 IFA$<>"Y"THEN810
830 CC=PEEK(646):POKE646,PEEK(53281)
840 M1=57812:M2=62954
850 PRINT"SYSM1"CHR$(34)"DD"F$(DP)CHR$(34)",8:POKE193,0:POKE194,92:";
860 PRINT"POKE174,0:POKE175,128:SYSM2"
870 PRINT"GOTO500"
880 POKE646,CC:POKE631,13:POKE632,13:POKE198,2:END
890 REM *** UNCOMPRESSOR ML ***
900 DATA162,8,32,198,255,32,228,255,133,251,32,228,255,133,252,32,183
910 DATA255,208,51,32,228,255,201,254,240,13,160,0,145,251,230,251,208
920 DATA2,230,252,24,144,231,32,228,255
930 DATA72,32,228,255,170,168,104,136,145,251,136,192,255,208,249,138,24
940 DATA101,251,133,251,144,2,230,252
950 DATA24,144,200,32,204,255,169,8,32,195,255,96